package com.googlecode.imanager.jasper.form;

import com.googlecode.imanager.client.bridge.IFocusable;
import com.googlecode.imanager.client.form.FocusControl;
import com.googlecode.imanager.core.base.BridgeApplication;
import com.googlecode.imanager.jasper.RControl;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public abstract class RFocusControl extends RControl implements IFocusable {

    public RFocusControl(BridgeApplication bridge, FocusControl source) {
        super(bridge, source);
    }

    @Override
    public FocusControl getSource() {
        return (FocusControl) source;
    }

    @Override
    public void blur() {
        // nothing to do
    }

    @Override
    public void focus() {
        // nothing to do
    }

    @Override
    public void setAccessKey(Character accessKey) {
        // nothing to do
    }

    @Override
    public void setTabIndex(Integer tabIndex) {
        // nothing to do
    }

    @Override
    public void transferFocusBackward() {
        // nothing to do
    }

    @Override
    public void transferFocusForward() {
        // nothing to do
    }

}
